<template>
    <el-container class="un_open_data_auth_container">
        <el-main>
            <el-card class="box-card">
                <span style="color: orangered;">{{typeName}}未开启，请由管理员在“权限设置”功能开启相关设置</span>
            </el-card>
        </el-main>
    </el-container>
</template>

<script>
export default {
    name: "UnOpen",
    props: {
        type: {
            type: String,
            default: 'row',
        },
    },
    computed: {
        typeName() {
            return this.type === 'row' ? '数据范围授权' : '数据字段授权';
        },
    },
}
</script>

<style lang="less" rel="stylesheet/less" scoped>

</style>
